<html>


{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'polls/style0.css' %}" />


<body>


<h1>Questions</h1>


<strong>welcome {{ user }}</strong>

    <div>
        <form action="{% url 'polls:custome1'  %}" method="post">
            {% csrf_token %}
            <select name="Number">
                {% for i in options %}
                    <option value="{{ i }}">{{ i }}</option>
                {% endfor %}
            </select>
            <input type="submit" value="OK" />
        </form>
    </div>
    <div>

        <h2>group1</h2>
        {% if latest_question_list %}
            <ul>
            {% for question in latest_question_list %}
                 <li><a href="{% url 'polls:detail' question.id %}">{{ question.question_text }}</a></li>
            {% endfor %}
            </ul>
        {% else %}
            <p>No polls are available.</p>
        {% endif %}
        <h2>group2</h2>
        {% if item_list %}
            <ul>
                {% for item in item_list %}
                    <li><a href={% url 'polls:detailV2' item.id %}>{{ item.description }}</a></li>
                {% endfor %}
            </ul>

        {% endif %}
        <br>
        <br>
        <a href={% url 'useradmin:logout'  %}>Logout</a>

    </div>


</body>


</html>